﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Models
{
    /// <summary>
    /// eazy_xzcf_notify:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class xzcf_notify
    {
        public xzcf_notify()
        { }
        #region Model
        private int _id;
        private int _instance_id = 0;
        private string _code;
        private string _number;
        private string _title;
        private string _case_tile;
        private string _content;
        private string _address;
        private string _contact;
        private string _telephone;
        private DateTime _add_time = DateTime.Now;
        private DateTime? _sub_time;
        private int _bm_yijian = 0;
        private int _type = 0;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 实例ID
        /// </summary>
        public int instance_id
        {
            set { _instance_id = value; }
            get { return _instance_id; }
        }
        /// <summary>
        /// 告知书编码
        /// </summary>
        public string code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 告知书号
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 被告知人(单位)
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 案由
        /// </summary>
        public string case_tile
        {
            set { _case_tile = value; }
            get { return _case_tile; }
        }
        /// <summary>
        /// 行政处罚事实、理由
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 机关地址
        /// </summary>
        public string address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 联系人
        /// </summary>
        public string contact
        {
            set { _contact = value; }
            get { return _contact; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string telephone
        {
            set { _telephone = value; }
            get { return _telephone; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        /// <summary>
        /// 办理时间
        /// </summary>
        public DateTime? sub_time
        {
            set { _sub_time = value; }
            get { return _sub_time; }
        }
        /// <summary>
        /// 办案人员意见
        /// </summary>
        public int bm_yijian
        {
            set { _bm_yijian = value; }
            get { return _bm_yijian; }
        }
        /// <summary>
        /// 告知书类型1不听证2听证
        /// </summary>
        public int type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 内容附件
        /// </summary>
        private List<case_attach> _attach;
        public List<case_attach> attach
        {
            set { _attach = value; }
            get { return _attach; }
        }
        #endregion Model

    }
}
